package com.tb.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.tb.pojo.Teacher;

import java.util.List;

public interface TeacherService {

    /*Teacher*/
    boolean addTea(Teacher teacher);

    PageInfo<Teacher> findAll(int currentPage);


    boolean resign(Teacher tea);

    Teacher findOne(String tid);

    void modify(Teacher teacher);

    PageInfo<Teacher> findAllCondition(int college, int title, int currentPage);
}
